Function Reference

IsBinary

Checks if a variable or expression is a binary type.

IsBinary ( expression )

 

Parameters

variable The variable or expression to check.

 

Return Value

Success: Returns 1.
Failure: Returns 0 if expression is not binary type.

 

Remarks

None.

 

Related

IsArray, IsFloat, IsInt, IsString, IsNumber, IsBool, IsHWnd

 

Example


$bin = Binary("0x00204060")
$str = "0x00204060"

msgbox(0, "IsBinary $bin", IsBinary($bin))
msgbox(0, "IsBinary $str", IsBinary($str))